package cn.edu;

import cn.edu.pojo.PageBean;
import cn.edu.pojo.teacher;
import cn.edu.pojo.thesis;
import cn.edu.service.impl.ExamineServiceImpl;
import cn.edu.service.ExamineService;
import cn.edu.service.impl.lead_thesisServiceImpl;
import org.junit.Test;

import java.util.List;

/**
 * @author Davey chan
 */
public class test {
    @Test
    public void test1(){
//        ExamineService ExamineService = new ExamineServiceImpl();
//        List<teacher> teachers= ExamineService.select1();
//        for(teacher b : teachers) {
//            System.out.println(b.toString());
//        }
        lead_thesisServiceImpl lead_thesisService = new lead_thesisServiceImpl();
        thesis t = new thesis();

        PageBean<thesis> thesisPageBean = lead_thesisService.selectByPageAndcondition(1, 5, t);
        System.out.println(thesisPageBean);
    }
}
